package com.zzyang.mybatis.jdbc.loadbalance.factory;

import com.zzyang.mybatis.jdbc.loadbalance.LoadBalance;

/**
 * 负载均衡工厂
 *
 * @author zhuoziyang
 * @date 2021/4/8 23:13
 */
public interface LoadBalanceFactory {

    /**
     * 获取从数据源负载均衡策略
     *
     * @param loadBalanceType
     * @return
     */
    LoadBalance getLoadBalance(String loadBalanceType);

}
